/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.repository;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.shanhesoft.java.common.core.vo.PageModel;
import com.shanhesoft.java.common.persistence.repository.BaseRepository;
import com.shanhesoft.java.modules.exam.domain.TVTrainQa;
import com.shanhesoft.java.modules.exam.domain.vo.TVTrainQaVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 实验问答Repository 实验问答
 * @author superadmin
 * @version 2021-01-26 23:29:16
 */
public interface TVTrainQaRepository extends BaseRepository<TVTrainQa> {
	public IPage<TVTrainQaVo> findArticleByVid(PageModel pm, @Param(Constants.WRAPPER) QueryWrapper wrapper);

	List<TVTrainQaVo> findArticleByParentId(String parentId);

}
